//项目中我们大多数时候都会把对应的接口请求封装成pi来调用
import service from "@/utils/service";

//登录接口
export function login(data) {
    return service({
        method: 'post',
        url: '/login',
        data
    })
}

//学生列表查询接口
export function users(params) {
    return service({
        method: 'get',
        url: '/users',
        params
    })
}

export function reviews(params) {
    return service({
        method: 'get',
        url: '/reviews',
        params
    })
}

export function ordercreatereviews(params) {
    return service({
        method: 'get',
        url: '/ordercreatereviews',
        params
    })
}

export function receiverreviews(params) {
    return service({
        method: 'get',
        url: '/receiverreviews',
        params
    })
}

export function historyreviews(params) {
    return service({
        method: 'get',
        url: '/historyreviews',
        params
    })
}

export function reports(params) {
    return service({
        method: 'get',
        url: '/reports',
        params
    })
}

export function refunds(params) {
    return service({
        method: 'get',
        url: '/refunds',
        params
    })
}

export function monitors(params) {
    return service({
        method: 'get',
        url: '/monitors',
        params
    })
}

export function advices(params) {
    return service({
        method: 'get',
        url: '/advices',
        params
    })
}

export function exceptions(params) {
    return service({
        method: 'get',
        url: '/exceptions',
        params
    })
}

export function logoutreviews(params) {
    return service({
        method: 'get',
        url: '/logoutreviews',
        params
    })
}

export function sysbalances(params) {
    return service({
        method: 'get',
        url: '/sysbalances',
        params
    })
}

export function orderreviews(params) {
    return service({
        method: 'get',
        url: '/orderreviews',
        params
    })
}

export function merchantsreviews(params) {
    return service({
        method: 'get',
        url: '/merchantsreviews',
        params
    })
}

export function merchantsreviewsall(params) {
    return service({
        method: 'get',
        url: '/merchantsreviewsall',
        params
    })
}

export function orderlist(params) {
    return service({
        method: 'get',
        url: '/orderlist',
        params
    })
}

export function safetylist(params) {
    return service({
        method: 'get',
        url: '/safetylist',
        params
    })
}

export function indexPage(params) {
    return service({
        method: 'get',
        url: '/indexPage',
        params
    })
}

export function payoutsPass(data) {
    return service({
        method: 'post',
        url: '/payoutsPass',
        data
    })
}

export function merchantsCreatePass(data) {
    return service({
        method: 'post',
        url: '/merchantsCreatePass',
        data
    })
}

export function merchantsCreateFinish(data) {
    return service({
        method: 'post',
        url: '/merchantsCreateFinish',
        data
    })
}


export function merchantsCreateUnpass(data) {
    return service({
        method: 'post',
        url: '/merchantsCreateUnpass',
        data
    })
}

export function refundsPass(data) {
    return service({
        method: 'post',
        url: '/refundsPass',
        data
    })
}

export function refundsUnpass(data) {
    return service({
        method: 'post',
        url: '/refundsUnpass',
        data
    })
}

export function orderCreateUnpass(data) {
    return service({
        method: 'post',
        url: '/orderCreateUnpass',
        data
    })
}

export function orderCreatePass(data) {
    return service({
        method: 'post',
        url: '/orderCreatePass',
        data
    })
}


export function payoutsUnpass(data) {
    return service({
        method: 'post',
        url: '/payoutsUnpass',
        data
    })
}


export function exceptionFinishProcessApi(data) {
    return service({
        method: 'post',
        url: '/exceptionFinishProcessApi',
        data
    })
}

export function exceptionBackApi(data) {
    return service({
        method: 'post',
        url: '/exceptionBackApi',
        data
    })
}

export function banned(data) {
    return service({
        method: 'post',
        url: '/banned',
        data
    })
}

export function unbanned(data) {
    return service({
        method: 'post',
        url: '/unbanned',
        data
    })
}

export function solved(data) {
    return service({
        method: 'post',
        url: '/solved',
        data
    })
}

export function receiverCertifyPass(data) {
    return service({
        method: 'post',
        url: '/receiverCertifyPass',
        data
    })
}


export function receiverCertifyUnpass(data) {
    return service({
        method: 'post',
        url: '/receiverCertifyUnpass',
        data
    })
}

export function logoutPass(data) {
    return service({
        method: 'post',
        url: '/logoutPass',
        data
    })
}

export function logoutUnpass(data) {
    return service({
        method: 'post',
        url: '/logoutUnpass',
        data
    })
}

export function cancelOrderPass(data) {
    return service({
        method: 'post',
        url: '/cancelOrderPass',
        data
    })
}

export function cancelOrderUnpass(data) {
    return service({
        method: 'post',
        url: '/cancelOrderUnpass',
        data
    })
}
